.lx-message {
    position: fixed;
    left: 50%;
    box-sizing: border-box;
    min-width: 60%;
    height: 30px;
    line-height: 20px;
    padding: 5px 20px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    text-align: center;
    z-index: 9999;
    font-size: 14px;
    border-radius: 5px;
    animation: show-toast .5s;
    -webkit-animation: show-toast .5s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lx-message[type = 'lx-message-success']{
    color: #67c23a;
    background: #f0f9eb;
    border-color: #c2e7b0;
}

.lx-message[type = 'lx-message-error']{
    color: #f56c6c;
    background: #fef0f0;
    border-color: #fbc4c4;
}